<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/public/head.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<style>
.left {
	width: 18%;
	/*height:800px;*/
	border: 1px solid #ccc;
	float: left;
}

.right {
	width: 80%;
	/*height:800px;*/
	border: 1px solid #ccc;
	float: left;
	margin-left: 10px;
}
</style>

<title>Insert title here</title>
<script type="text/javascript">
	$(function() {
		var a = window.innerHeight
		document.getElementsByClassName("box")[0].style.height = a + "px";
		document.getElementsByClassName("box")[1].style.height = a + "px";
		$('#tt').tree({
			url : '${system}/resources/getResourceTypeTreeVo',
			onClick : function(node) {
				var id = node.id;
				if(id!='7163f612352841248dc075b191ca3d9b'){
				$("#rightFrame").attr("src","${system}/resources/queryPSRById?typeid="+id);// 在用户点击的时候
			   }
			}
		});

	});
</script>
</head>
<body>
	<div class="left box">
		<ul id="tt"></ul>
	</div>
	<div class="right box">
		<iframe src="${system}/welcome" width="100%" height="100%"
			frameborder="0" id="rightFrame" name="rightFrame"></iframe>
	</div>

</body>
</html>